<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" %>
<html>
<head>
    <title>用户信息列表</title>
    <style>
        #list{
            width: 500px;
            background: #eee;
            border: 2px solid #000;
            border-collapse:collapse;
            margin: 0 auto;
        }
        #list th,#list td{
            border: 1px solid #000;


        }
    </style>
</head>
<body>
<table id="list">
    <thead>
    <tr>
        <th>序&nbsp;&nbsp;号</th>
        <th>用户编号</th>
        <th>用户名称</th>
        <th>用户密码</th>
        <th>用户年龄</th>
        <th>操&nbsp;&nbsp;作</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${users}" var="users" varStatus="s">
        <tr>
            <td>${s.index+1}</td>
            <td>${users.id}</td>
            <td>${users.userName}</td>
            <td>${users.userPwd}</td>
            <td>${users.age}</td>
            <td>修改 删除</td>
        </tr>
    </c:forEach>
    </tbody>
</table>
</body>
</html>
